notebook: Remove redundant variable declarations
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:43:06 +0000 (11:43 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Oct 2016 10:44:11 +0000 (11:44 +0100)
We're already declaring notebook and priv at the top of the function,
and assigning them to the same values.

gtk/gtknotebook.c

index e48b0f19ee3f37aca2c74b43050f299157839553..ab84b0140b38304fb4135391b725622033921569 100644 (file)
@@ -3579,8 +3579,6 @@ gtk_notebook_drag_end (GtkWidget      *widget,
 
   if (priv->rootwindow_drop)
     {
-      GtkNotebook *notebook = GTK_NOTEBOOK (widget);
-      GtkNotebookPrivate *priv = notebook->priv;
       GtkNotebook *dest_notebook = NULL;
       gint x, y;